package com.mfangsoft.zhuangjialong.app.appNewActivity.mapper;

import java.util.List;
import java.util.Map;

import com.mfangsoft.zhuangjialong.common.model.Page;
import com.mfangsoft.zhuangjialong.common.utils.stereotype.WriterRepository;

@WriterRepository
public interface AppNewActivityMapper {
	
	Map<String,Object> selectNearestFiliale(Map<String,Object> map);
	
	List<Map<String,Object>> selectFilialeActivity(Integer filialeId);
	
	List<Map<String,Object>> selectFilialeActivityByCode(Integer filialeId);
	
	List<String> selectActivityApplyImage(Integer activity_id);
	
	List<Map<String,Object>> selectPreviousActivity(Integer activity_id);
	
	Integer selectIsApply(Map<String,Object> map);
	
	void updateActivityLook(Integer activity_id);
	
	List<Map<String,Object>> selectCustomerCodeActivity(Integer customer_id);
	
	List<Map<String,Object>> selectActivityShop(Integer activity_id);
	
	Map<String,Object> selectPreviousActivityDrtail(Integer activity_id);
	
	List<Map<String,Object>> selectActivityCommentPage(Page<Map<String,Object>> page);
	
	List<Map<String,Object>> selectCustomerActivityCommentPage(Page<Map<String,Object>> page);
	
	List<Map<String,Object>> selectFilialeByCode(Map<String,Object> map);
	
	Map<String,Object> selectFilialeById(Integer i);
	
	Integer selectCustomerRelation(Integer i);
	
	String selectCustomerRegionCode(Integer i);
	
	List<Integer> selectShopByCode(String s);
	
	Integer selectNode2ByNode1(Integer i);
	
	List<Map<String,Object>> selectCustomerApplyActivity(Integer customerId);
}
